package com.power.sifa.correction.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

/**
 * 预警处置任务条件查询
 */

@Data
@ApiModel(value = "预警处置任务条件查询")
@EqualsAndHashCode(callSuper = false)
public class Cre_workPageInfo extends BasePageInfo {

    @ApiModelProperty(value = "序号")
    private String f_id;
    @ApiModelProperty(value = "序号操作符")
    private String f_id_op = "like";

    @ApiModelProperty(value = "预警id")
    private String f_warnid;
    @ApiModelProperty(value = "预警id操作符")
    private String f_warnid_op = "like";

    @ApiModelProperty(value = "处置类型")
    private List f_worktype;
    @ApiModelProperty(value = "处置类型操作符")
    private String f_worktype_op = "=";
    @ApiModelProperty(value = "单位id")
    private List f_deptid;
    @ApiModelProperty(value = "单位id操作符")
    private String f_deptid_op = "in";

    @ApiModelProperty(value = "单位名称")
    private String f_deptname;
    @ApiModelProperty(value = "单位名称操作符")
    private String f_deptname_op = "like";

    @ApiModelProperty(value = "处置人id")
    private String f_userid;
    @ApiModelProperty(value = "处置人id操作符")
    private String f_userid_op = "like";

    @ApiModelProperty(value = "处置人名称")
    private String f_username;
    @ApiModelProperty(value = "处置人名称操作符")
    private String f_username_op = "like";

    @ApiModelProperty(value = "处置意见")
    private String f_remark;
    @ApiModelProperty(value = "处置意见操作符")
    private String f_remark_op = "like";

    @ApiModelProperty(value = "状态")
    private List f_status;
    @ApiModelProperty(value = "状态操作符")
    private String f_status_op = "=";

    @ApiModelProperty(value = "任务开始时间", example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private String f_createtime;
    @ApiModelProperty(value = "任务开始时间操作符")
    private String f_createtime_op = ">=";

    @ApiModelProperty(value = "任务开始时间_01", example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private String f_createtime_01;
    @ApiModelProperty(value = "任务开始时间操作符")
    private String f_createtime_01_op = "<=";

    @ApiModelProperty(value = "任务办结时间", example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private String f_exectime;
    @ApiModelProperty(value = "任务办结时间操作符")
    private String f_exectime_op = ">=";

    @ApiModelProperty(value = "任务办结时间_01", example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private String f_exectime_01;
    @ApiModelProperty(value = "任务办结时间操作符")
    private String f_exectime_01_op = "<=";

    @ApiModelProperty(value = "预警开始时间")
    private String f_rectime;
    private String f_rectime_op = ">=";

    @ApiModelProperty(value = "预警截止时间")
    private String f_rectime_01;
    private String f_rectime_01_op = "<=";

    @ApiModelProperty(value = "是否督办")
    private String f_issup;

    @ApiModelProperty(value = "督办id")
    private String f_supid;
    @ApiModelProperty(value = "督办id操作符")
    private String f_supid_op = "like";

    @ApiModelProperty(value = "再办id")
    private String f_repeatid;
    @ApiModelProperty(value = "再办id操作符")
    private String f_repeatid_op = "like";

    @ApiModelProperty(value = "姓名")
    private String f_pername;

    @ApiModelProperty(value = "预警类型")
    private List f_type;

    @ApiModelProperty(value = "地点")
    private String f_addr;

}
